From: Baodong Chen Date: Mon, 3 Jun 2019 15:56:20 +0000 (+0200) Subject: sched_null: superficial clean-ups X-Git-Tag: archive/raspbian/4.14.0+80-gd101b417b7-1+rpi1^2~63^2~2131 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22man:///%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22man:/?a=commitdiff_plain;h=844aa0a13d34e9a341a8374119d2ed67d4dcd6bb;p=xen.git sched_null: superficial clean-ups * Remove unused dependency 'keyhandler.h' * Make sched_null_def static Signed-off-by: Baodong Chen Reviewed-by: George Dunlap --- diff --git a/xen/common/sched_null.c b/xen/common/sched_null.c index a59dbb2692..c9700f1732 100644 --- a/xen/common/sched_null.c +++ b/xen/common/sched_null.c @@ -31,7 +31,6 @@ #include #include #include -#include #include /* @@ -871,7 +870,7 @@ static void null_dump(const struct scheduler *ops) spin_unlock_irqrestore(&prv->lock, flags); } -const struct scheduler sched_null_def = { +static const struct scheduler sched_null_def = { .name = "null Scheduler", .opt_name = "null", .sched_id = XEN_SCHEDULER_NULL,